package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.ChannelDto;
import com.heima.media.entity.WmChannel;

public interface WmChannelService extends IService<WmChannel> {
    //根据名称分页查询频道列表
    ResponseResult listByName(ChannelDto dto);

    //频道新增
    ResponseResult<Integer> addChannel(WmChannel channel);
}
